package ABC.Z314;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

public class Zhengshu {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入十个整数：");
        List a = new ArrayList();
        for (int b = 0; b < 10; a.add(in.nextInt()), b++) ;
        List c=a;
        Integer[] ints =new Integer[a.size()];
        a.toArray(ints);
        for (int b = 0,j=0; b < 10; b++,j++) {
            if(ints[b]%2==0){
                c.remove(j);
                j--;
            }
        }
        System.out.println(c);
    }
}
